package com.unknowpupil.account.provider.configure;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @Classname: UnAccountResourceConfiguration
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/1/4 0:36
 * @Description: 可以做资源服务器，但未必能用上
 * @Version: 1.0
 */
@Configuration
public class UnAccountResourceConfiguration {
    @Bean
    public BCryptPasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
